<!DOCTYPE html>
<html>
	<head>
		<meta charset="utf-8">
		<title>Vue入门 data</title>
		<script src="vue.js"></script>
	</head>
	<body>
		<!-- 挂载点，模板，实例之间的关 -->
		<div id="root">
			<div :title="'tip: '+title">hello world</div>
			<input v-model="content"/>
			<div v-text="content"></div>
		</div>
		<script>
			new Vue({
				el: "#root",
				data: {
					title: "this is hello world",
					content: "this is content",
				}
			})
		</script>
	</body>
</html>
